ComponentOne Data Source for Entity Framework
C1.LiveLinq.Collections Namespace / IndexedCollection<T> Class / IndexedCollection<T> Constructor / IndexedCollection<T> Constructor(IList<T>,PropertyChangeListener<T>)
The collection whose elements are copied to the new instance.
The custom C1.LiveLinq.Listeners.PropertyChangeListener<T> to use with the collection.

In This Topic
    IndexedCollection<T> Constructor(IList<T>,PropertyChangeListener<T>)
    In This Topic
    Initializes a new instance of the IndexedCollection<T> class that contains elements copied from the specified list, and provides a custom C1.LiveLinq.Listeners.PropertyChangeListener<T>.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal list As System.Collections.Generic.IList(Of T), _
       ByVal itemPropertyChangeListener As PropertyChangeListener(Of T) _
    )
    public IndexedCollection<T>( 
       System.Collections.Generic.IList<T> list,
       PropertyChangeListener<T> itemPropertyChangeListener
    )

    Parameters

    list
    The collection whose elements are copied to the new instance.
    itemPropertyChangeListener
    The custom C1.LiveLinq.Listeners.PropertyChangeListener<T> to use with the collection.
    Remarks
    This constructor is intended for the rare cases where implementing System.ComponentModel.INotifyPropertyChanged in the class of the elements of the collection is impossible
    See Also